package com.ruoyi.gbase.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.gbase.mapper.TLlLogMapper;
import com.ruoyi.gbase.domain.TLlLog;
import com.ruoyi.gbase.service.ITLlLogService;
import com.ruoyi.common.core.text.Convert;

/**
 * 拉链维护Service业务层处理
 * 
 * @author yys
 * @date 2023-11-30
 */
@Service
public class TLlLogServiceImpl implements ITLlLogService 
{
    @Autowired
    private TLlLogMapper tLlLogMapper;

    /**
     * 查询拉链维护
     * 
     * @param id 拉链维护ID
     * @return 拉链维护
     */
    @Override
    public TLlLog selectTLlLogById(String id)
    {
        return tLlLogMapper.selectTLlLogById(id);
    }

    /**
     * 查询拉链维护列表
     * 
     * @param tLlLog 拉链维护
     * @return 拉链维护
     */
    @Override
    public List<TLlLog> selectTLlLogList(TLlLog tLlLog)
    {
        return tLlLogMapper.selectTLlLogList(tLlLog);
    }

    /**
     * 新增拉链维护
     * 
     * @param tLlLog 拉链维护
     * @return 结果
     */
    @Override
    public int insertTLlLog(TLlLog tLlLog)
    {
        return tLlLogMapper.insertTLlLog(tLlLog);
    }

    /**
     * 修改拉链维护
     * 
     * @param tLlLog 拉链维护
     * @return 结果
     */
    @Override
    public int updateTLlLog(TLlLog tLlLog)
    {
        return tLlLogMapper.updateTLlLog(tLlLog);
    }

    /**
     * 删除拉链维护对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteTLlLogByIds(String ids)
    {
        return tLlLogMapper.deleteTLlLogByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除拉链维护信息
     * 
     * @param id 拉链维护ID
     * @return 结果
     */
    @Override
    public int deleteTLlLogById(String id)
    {
        return tLlLogMapper.deleteTLlLogById(id);
    }
}
